using System;
using Kiwi.Node.Modules.Builtin;

namespace Kiwi.Node
{
    public interface IEventQueue
    {
        event Action Idle;
        event Action Shutdown;
        void Enque(Action @event);
        bool RunEventLoop(Func<bool> queryContinue);
        void RegisterEventEmitter(EventEmitter eventEmitter);
    }
}